"""
---------------------
Author: 周炳尧
Time: 2025/07/15 下午 06:29
File: conftest.py
Software: PyCharm
---------------------
"""
import pytest
from selenium import webdriver


@pytest.fixture(scope="function")
def browser():
    driver = webdriver.Chrome()
    # driver.maximize_window()
    yield driver
    driver.quit()
